package com.dream.pojo;


public class User {

  private long id;
  private String token;
  private String userName;
  private String password;
  private String realName;
  private String phone;
  private String role;
  private String avatarUrl;
  private String remark;
  private long gmtCreate;
  private long gmtModify;


  private String roleName;

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  public User() {
  }

  public User(String userName, String password, String realName, String phone, String role, String remark, long gmtCreate, long gmtModify) {
    this.userName = userName;
    this.password = password;
    this.realName = realName;
    this.phone = phone;
    this.role = role;
    this.remark = remark;
    this.gmtCreate = gmtCreate;
    this.gmtModify = gmtModify;
  }
  public User(long id,String userName, String password, String realName, String phone, String role, String remark, long gmtModify) {
    this.id = id;
    this.userName = userName;
    this.password = password;
    this.realName = realName;
    this.phone = phone;
    this.role = role;
    this.remark = remark;
    this.gmtModify = gmtModify;
  }


  public User(String userName, String password, String role) {
    this.userName = userName;
    this.password = password;
    this.role = role;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getToken() {
    return token;
  }

  public void setToken(String token) {
    this.token = token;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getRealName() {
    return realName;
  }

  public void setRealName(String realName) {
    this.realName = realName;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }


  public String getAvatarUrl() {
    return avatarUrl;
  }

  public void setAvatarUrl(String avatarUrl) {
    this.avatarUrl = avatarUrl;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }


  public long getGmtCreate() {
    return gmtCreate;
  }

  public void setGmtCreate(long gmtCreate) {
    this.gmtCreate = gmtCreate;
  }


  public long getGmtModify() {
    return gmtModify;
  }

  public void setGmtModify(long gmtModify) {
    this.gmtModify = gmtModify;
  }

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", token='" + token + '\'' +
            ", userName='" + userName + '\'' +
            ", password='" + password + '\'' +
            ", realName='" + realName + '\'' +
            ", phone='" + phone + '\'' +
            ", role='" + role + '\'' +
            ", avatarUrl='" + avatarUrl + '\'' +
            ", remark='" + remark + '\'' +
            ", gmtCreate=" + gmtCreate +
            ", gmtModify=" + gmtModify +
            '}';
  }
}
